package com.haima.ziliao.mapper;

import java.util.List;
import com.haima.ziliao.domain.PDayinCar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 打印车Mapper接口
 * 
 * @author hima
 * @date 2024-10-21
 */
public interface PDayinCarMapper extends BaseMapper<PDayinCar>
{
    /**
     * 查询打印车
     * 
     * @param id 打印车主键
     * @return 打印车
     */
    public PDayinCar selectPDayinCarById(Long id);

    /**
     * 查询打印车列表
     * 
     * @param pDayinCar 打印车
     * @return 打印车集合
     */
    public List<PDayinCar> selectPDayinCarList(PDayinCar pDayinCar);

    /**
     * 新增打印车
     * 
     * @param pDayinCar 打印车
     * @return 结果
     */
    public int insertPDayinCar(PDayinCar pDayinCar);

    /**
     * 修改打印车
     * 
     * @param pDayinCar 打印车
     * @return 结果
     */
    public int updatePDayinCar(PDayinCar pDayinCar);

    /**
     * 删除打印车
     * 
     * @param id 打印车主键
     * @return 结果
     */
    public int deletePDayinCarById(Long id);

    /**
     * 批量删除打印车
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deletePDayinCarByIds(Long[] ids);

    void updatePDayinCarAll(PDayinCar pc);
}
